package model

import "gorm.io/gorm"

type Docker struct {
	gorm.Model
	DockerName          string `gorm:"type:varchar(50); not null; comment:'医生姓名'"`
	HospitalId          int64  `gorm:"type:int; not null comment:'关联医院表Id'"`
	Title               string `gorm:"type:varchar(50); not null; comment:'医生职称'"`
	Specialty           string `gorm:"type:varchar(50); not null; comment:'擅长领域'"`
	Phone               string `gorm:"type:char(11); not null; unique; comment:'手机号'"`
	BindStatus          int64  `gorm:"type:int; not null comment:'0 - 未绑定微信，1 - 已绑定'"`
	LicenseNo           string `gorm:"type:varchar(50); not null; unique ;comment:'执业医师证号'"`
	QualificationStatus int64  `gorm:"type:int; not null;comment:'0 - 待审核，1 - 已通过，2 - 未通过'"`
	ServiceStatus       int64  `gorm:"type:int; not null;comment:'0 - 在线，1 - 忙碌，2 - 离线，3 - 禁用'"`
	AvatarUrl           string `gorm:"type:varchar(50);comment:'头像 URL'"`
	introduction        string `gorm:"type:text;comment:'简介'"`
}
